package com.xhsj.user.hr.userInfo.mapper;

import com.xhsj.user.hr.userInfo.query.UserDetailEducationQuery;
import org.apache.ibatis.annotations.Mapper;
import com.xhsj.user.hr.userInfo.entity.TbGlobalUserEducation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
/**
 * <p>
 * 用户_教育经历 Mapper 接口
 * </p>
 *
 * @author liuqinghua
 * @since 2020-09-08
 */
@Mapper
public interface TbGlobalUserEducationMapper extends BaseMapper<TbGlobalUserEducation> {

    /**
     * 用户教育经历
     * @author liuqinghua
     * @date Sep 8, 2020 1:21:38 PM
     */
    List<UserDetailEducationQuery> getEducationList(@Param("userId") Long userId);
    /**
     * 修改教育背景
     * @author liuqinghua
     * @date Sep 8, 2020 1:21:38 PM
     */

    int deleteDataByUserId(@Param("userId")Long userId);
}
